using System;
using System.Linq.Expressions;

namespace Fuse8.DomainFramework.DataAccess.ExpressionSlicers
{
    /// <summary>
    /// Provides contract for getting context dependent slicer expresison
    /// </summary>
    public interface ISlicerScope
    {
        /// <summary>
        /// Get current slicer expression
        /// </summary>
        /// <param name="type"></param>
        /// <returns></returns>
        LambdaExpression GetCurrentSlicer(Type type);
    }
}